# -*- coding: UTF-8 -*-
"""
Work Modify
By AnpyD
"""

# Bombsquad Module
import bs
import bsUtils
import bsScoreBoard
import bsSpaz
import bsLobby
import bsTeamGame

import sys
import anm

try:
    bsScoreBoard._Entry.__init__ = anm.score_board_modif.bsScoreBoardinit
    bsTeamGame.TeamSeriesVictoryScoreScreenActivity = anm.final_score_board_modif.team_series_victory_score_screen_activity_modif
    bsSpaz.RespawnIcon = anm.spaz_icon_modif.ReIcon
    bsSpaz.PlayerSpaz.__init__ = anm.spaz_modif.__init__
    bsSpaz.Spaz.equipBoxingGloves = anm.spaz_modif._equipBoxingGloves
    bsSpaz.Spaz._glovesWearOff = anm.spaz_modif._glovesWearOff
    bsSpaz.Spaz._protect_multiple = anm.spaz_modif._protect_multiple
    bsLobby.Chooser.__init__ = anm.choose_board_modif.__init__
    bsLobby.Chooser._setReady = anm.choose_board_modif._setReady
    bsLobby.Chooser._getName = anm.choose_board_modif._getName
    bsLobby.Chooser._updateText = anm.choose_board_modif._updateText
    bsLobby.Chooser.handleMessage = anm.choose_board_modif.handleMessage
    bsLobby.Chooser.loadAllCharacters = anm.choose_board_modif.loadAllCharacters

except:
    print("Modif 系统 -> modif.py 导入时出现问题！")
    sys.exit()

bs.getEnvironment()['version']='1.4.155 by AnpyD & China007'